import { createRouter, createWebHistory } from 'vue-router'
import TheWelcome from '../components/thewelcome.vue'
import Test_a from '../components/test_a.vue'
import Test_b from '../components/test_b.vue'


const router = createRouter({
    history : createWebHistory(), 
    routes : [
        {
            path:'/', //初始页面
            component:TheWelcome
        },
        {
            path:'/test_a',
            component:Test_a
        },
        {
            path:'/test_b',
            component:Test_b
        }
    ]
})

export default router